#ifndef BM_MENU_H
#define BM_MENU_H
#ifdef __APPLE__
    #include <SDL/SDL.h>
    #include "SDL/SDL_opengl.h"
#else
    #include <SDL/SDL.h>
#endif

#include "BM_time.h"
#include "BM_input.h"
#include "BM_menu_object.h"

class BMMenu {
    private:
		BMTimer timer;
		int selection;
		BMKeyboard keyboard;
        //Object objects[4];
        BMMenuObject objectHandler[4];
        int menuEntries;

    public:
        BMMenu(); // Init the menu
        void end(); // free textures
        int run_menu();// runs the menu
        void draw_menu(); // draws the menu to the screen
        void loadObjects(); // load our objects
        void freeObjects(); // free our objects
};

#endif
